Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit e1e6063d17ce40a64db1e9307950e0f7187de576


Parents : ccbbe6f
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Date : 2026-04-28T15:46:04+02:00

Cleanup

Changes

1 files changed, 3 insertions(+), 3 deletions(-)


Diff

diff --git a/RNS/Utilities/rnsh/rnsh.py b/RNS/Utilities/rnsh/rnsh.py
index c915fbeb..5bddcfd0 100644
--- a/RNS/Utilities/rnsh/rnsh.py
+++ b/RNS/Utilities/rnsh/rnsh.py
@@ -162,9 +162,9 @@ def main():
try: return_code = asyncio.run(_rnsh_cli_main())
except SystemExit: pass
except KeyboardInterrupt: pass
- except Exception as ex:
- print(f"Unhandled exception: {ex}")
- exc = ex
+ except Exception as e:
+ print(f"{e}")
+ exc = e
process.tty_unset_reader_callbacks(0)
if verbose_set and exc: raise exc


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────